package com.atlige.gzmall.auth.feign;

import com.atlige.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author Jeremy Li
 * @data 2021/3/31 - 18:01
 */
@FeignClient("gzmall-third-party")
public interface ThirdPartFeignService {

    @GetMapping("/sms/sendcode")
    public R sendCode(@RequestParam("phone") String iphone, @RequestParam("code") String code);

}
